package admin.gateway.controller;

import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.tags.Tag;
import lombok.extern.slf4j.Slf4j;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import admin.common.vo.ResponseVO;


/**
 * @author zgb
 */
@RestController()
@RequestMapping("/health/")
@Validated
@Slf4j
@Tag(name="服务健康检查")
public class ServerHealthController {

    @GetMapping("check")
    @Operation(summary = "服务检查检查接口")
    public ResponseVO<Void> check(){
        return ResponseVO.OK();
    }

}
